package com.linkstec.mot.bean;

import java.util.Properties;

import com.linkstec.mot.util.Base64Util;

public class C3P0DatasourcePropertiesFactory {
	
	private static final String JDBC_PW = "password";
	
	// 取得解密的密码
	public static Properties getProperties(String pw) {
		Properties p = new Properties();
		p.setProperty(JDBC_PW, Base64Util.getFromBase64(pw));
		return p;
	}

}